package cn.stylefeng.guns.modular.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 值班
 * </p>
 *
 * @author wusonghe
 * @since 2019-08-31
 */
@TableName("info_inspection")
public class Inspection implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 质检ID
     */
    @TableId(value = "inspection_id", type = IdType.AUTO)
    private Integer inspectionId;

    /**
     * 经手人
     */
    @TableField("username")
    private String username;

    /**
     * 审核人
     */
    @TableField("interview_name")
    private String interviewName;

    /**
     * 质检人
     */
    @TableField("inspection_name")
    private String inspectionName;

    /**
     * 质检时间
     */
    @TableField("inspection_time")
    private Date inspectionTime;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 状态描述
     */
    @TableField("status_desc")
    private String statusDesc;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 详情
     */
    @TableField("remark")
    private String remark;

    /**
     * 类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 质检数量
     */
    @TableField("number")
    private Integer number;

    /**
     * 质检结果
     */
    @TableField("qualify")
    private Integer qualify;

    /**
     * 物料编码
     */
    @TableField("materiel_code")
    private String materielCode;

    /**
     * 产品编码
     */
    @TableField("product_code")
    private String productCode;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


    public Integer getInspectionId() {
        return inspectionId;
    }

    public void setInspectionId(Integer inspectionId) {
        this.inspectionId = inspectionId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getInterviewName() {
        return interviewName;
    }

    public void setInterviewName(String interviewName) {
        this.interviewName = interviewName;
    }

    public String getInspectionName() {
        return inspectionName;
    }

    public void setInspectionName(String inspectionName) {
        this.inspectionName = inspectionName;
    }

    public Date getInspectionTime() {
        return inspectionTime;
    }

    public void setInspectionTime(Date inspectionTime) {
        this.inspectionTime = inspectionTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusDesc() {
        return statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getQualify() {
        return qualify;
    }

    public void setQualify(Integer qualify) {
        this.qualify = qualify;
    }

    public String getMaterielCode() {
        return materielCode;
    }

    public void setMaterielCode(String materielCode) {
        this.materielCode = materielCode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Inspection{" +
        "inspectionId=" + inspectionId +
        ", username=" + username +
        ", interviewName=" + interviewName +
        ", inspectionName=" + inspectionName +
        ", inspectionTime=" + inspectionTime +
        ", status=" + status +
        ", statusDesc=" + statusDesc +
        ", title=" + title +
        ", remark=" + remark +
        ", type=" + type +
        ", number=" + number +
        ", qualify=" + qualify +
        ", materielCode=" + materielCode +
        ", productCode=" + productCode +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
